package com.zhentao.service;

import com.zhentao.model.entity.product.Product;

import java.util.List;

public interface ProductService {
    List< Product > findAll();

    List< Product > selectByName( String name );

    List< Product > selectByParentCategory( Integer id );

    List< Product > selectBySonCategory( Integer id );

    List< Product > selectBySonCategory2( Integer id );

    Product findById( Long id );
}
